(custom-make-dependencies): Bind to t around evaluating the def-form.
authorRichard M. Stallman <rms@gnu.org>
Sat, 21 Sep 2002 20:00:20 +0000 (20:00 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 21 Sep 2002 20:00:20 +0000 (20:00 +0000)
lisp/cus-dep.el

index 19ae727b2ddbd3efdf2cae786931f449b880712b..d7fd848a9abf583e10f7c68dc781bd0c45782b55 100644 (file)
@@ -66,7 +66,7 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS"
                          (setq is-autoloaded t)))
                    (let ((expr (read (current-buffer))))
                      (condition-case nil
-                         (progn
+                         (let ((custom-dont-initialize t))
                            (eval expr)
                            (put (nth 1 expr) 'custom-autoloaded is-autoloaded)
                            (put (nth 1 expr) 'custom-where name))